package com.FH.organization.emailRevice;

/**
 * Created by Administrator on 2016/9/2.
 */

import java.util.Properties;

public enum Send_HostType {

    NETEASE {
        @Override
        public Properties getProperties() {
            Properties defaults = new Properties();
            defaults.put("mail.smtp.host", "smtp.163.com");
            return defaults;
        }

    },
    TENCENT {
        @Override
        public Properties getProperties() {
            Properties defaults = new Properties();
            defaults.put("mail.smtp.host", "smtp.qq.com");
            return defaults;
        }
    },
    GMAIL {
        @Override
        public Properties getProperties() {
            Properties defaults = new Properties();
            defaults.put("mail.smtp.host", "smtp.gmail.com");
            return defaults;
        }

    };

    public abstract Properties getProperties();

}
